/* 放图片 */
#gridNav>div:nth-child(1)>a:nth-child(1){
	background-repeat: no-repeat;
	background-size: 70%;
	background-position: 30px 35px;
	background-color: rgb(250,103,84);
	border-radius: 12px 0px 0px 0px;
	background-image: url(https://pic.c-ctrip.com/platform/h5/home/grid-nav-items-hotel@v7.15.png);
}
#gridNav>div:nth-child(1)>a:nth-child(2){
	background-repeat: no-repeat;
	background-size: 70%;
	background-position: -3px 40px;
	background-color: rgb(251,122,82);
	background-image: url(https://pic.c-ctrip.com/platform/h5/home/grid-nav-items-minsu@v7.15.png);
}
#gridNav>div:nth-child(1)>a:nth-child(3){
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: 0px 0px;
	background-color: rgb(255,193,75);
	border-radius: 0px 12px 0px 0px;
	background-image: url(https://pic.c-ctrip.com/platform/h5/home/grid-nav-items-hot.png);
}
/* 放第二个子盒子的图片 */
#gridNav>div:nth-child(2)>a:nth-child(1){
	background-repeat: no-repeat;
	background-size: 80%;
	background-position: 25px 30px;
	background-color: rgb(76,150,237);
	border-radius: 0px 0px 0px 0px;
	background-image: url(https://pic.c-ctrip.com/platform/h5/home/grid-nav-items-flight@v7.15.png);
}
#gridNav>div:nth-child(2)>a:nth-child(2){
	background-repeat: no-repeat;
	background-size: 30%;
	background-position: 0px 40px;
	background-color: rgb(77,158,237);
	border-radius: 0px 0px 0px 0px;
	background-image: url(https://pic.c-ctrip.com/platform/h5/home/grid-nav-items-train.png);
}
#gridNav>div:nth-child(2)>a:nth-child(3){
	background-repeat: no-repeat;
	background-size: 30%;
	background-position: 0px 40px;
	background-color: rgb(81,175,237);
	border-radius: 0px 0px 0px 0px;
}
#gridNav>div:nth-child(2)>a:nth-child(4){
	background-repeat: no-repeat;
	background-size: 30%;
	background-position: 0px 40px;
	background-color: rgb(82,183,237);
	border-radius: 0px 0px 0px 0px;
}
/* 放第三个子盒子的图片 */
#gridNav>div:nth-child(3)>a:nth-child(1){
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: 0px 20px;
	background-color: rgb(59,196,159);
	border-radius: 0px 0px 0px 12px;
	background-image: url(https://pic.c-ctrip.com/platform/h5/home/grid-nav-items-travel@v7.15.png);
}
#gridNav>div:nth-child(3)>a:nth-child(2){
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: 0px 40px;
	background-color: rgb(73,201,139);
	border-radius: 0px 0px 0px 0px;
	background-image: url(https://pic.c-ctrip.com/platform/h5/home/grid-nav-items-dingzhi@v7.15.png);
}
#gridNav>div:nth-child(3)>a:nth-child(3){
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: 0px 40px;
	background-color: rgb(91,207,113);
	border-radius: 0px 0px 0px 0px;
}
#gridNav>div:nth-child(3)>a:nth-child(4){
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: 0px 40px;
	background-color: rgb(105,212,92);
	border-radius: 0px 0px 0px 0px;
}


#gridNav>div>a:nth-child(1){
	display: flex;
	justify-content: flex-start;
	padding: 25.6px 0px 25.6px 12px;
}
#gridNav>div>a{
	padding: 25.6px 0px;
}

#gridNav>div a{
	border:0.2px solid #FFFFFF;
	display: block;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	color: #FFFFFF;
}
#gridNav>div:nth-child(1)>a:last-child{
	color: #a05416;
}


#gridNav{
	border-radius: 12px;
	position: relative;
	top: -45px;
	width: 351px;
	/* height: 200px; */
	margin: 2px  auto;
	display: flex;
	flex-direction: column;
}
/* 给gridNav这个盒子的子元素设置份数以及对子元素的子元素进行弹性布局 */
#gridNav>div{
	flex:1;
	display: flex;
	flex-direction: row;
	align-items: center;
}
/* 给第一个div的子元素设置份数 */
#gridNav>div:nth-child(1)>a:nth-child(1){
	flex: 1.4;
}
#gridNav>div:nth-child(1)>a:nth-child(2){
	flex: 1.2;
}
#gridNav>div:nth-child(1)>a:nth-child(3){
	flex: 2.4;
}
/* 给第二，三个div的子元素设置份数 */
#gridNav>div:nth-child(2)>a:nth-child(1),#gridNav>div:nth-child(3)>a:nth-child(1){
	flex: 1.4;
}
#gridNav>div:nth-child(2)>a:nth-child(2),#gridNav>div:nth-child(3)>a:nth-child(2){
	flex: 1.2;
}
#gridNav>div:nth-child(2)>a:nth-child(3),#gridNav>div:nth-child(3)>a:nth-child(3){
	flex: 1.2;
}
#gridNav>div:nth-child(2)>a:nth-child(4),#gridNav>div:nth-child(3)>a:nth-child(4){
	flex: 1.2;
}
/* 给第一,第二,第三盒子的子元素进行弹性布局 */
#gridNav>div>a{
	display: flex;
	justify-content: center;
}
